<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            /* 2放大超出部分隐藏掉 */
            overflow: hidden;
            float: left;
            margin: 0 10px;
             
        }
        div img:hover {
            /* 1鼠标经过div里面的img 等比例放大1.1倍 */
            transform: scale(1.1);
            /*3 配合过渡 让图片放大更自然 */
            transition: all .4s;
        }
    </style>
</head>
<body>
    
    <div><a href="#"><img src="images/scale.jpg"></a></div>
    <div><a href="#"><img src="images/scale.jpg"></a></div>
    <div><a href="#"><img src="images/scale.jpg"></a></div>
    
</body>
</html>